function showdata(data) {
	var movietypelist = data.movietype;
	for(var i = 0; i < movietypelist.length; i++) {
		var classList = ["ui-block-a", "ui-block-b"];
		var liNode = "<li class="+ classList[i%2] +"><a href='##' class='ui-link ui-btn'>"+ movietypelist[i]["movietypename"] +"</a></li>";
		$("#menulist ul").append(liNode);
	}

}
getAjax("get", "/movielist", null, showdata);